package cn.zhanghu;

/**
 * Created by dell on 2017/7/19.
 */
public class Compare {
    public static void main(String[] args) {
        String a=new String("Hello");
        String b=new String("Hello");
        System.out.println(a==b);
        System.out.println(a.equals(b));
    }
}
